package com.cqtd.rebate.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 我的返利
 * @author colin
 *
 */
@Entity
@Table(name = "cq_rebate_myrebateinfo")
public class MyRebateInfo implements Serializable {

	private static final long serialVersionUID = -8805244262869767924L;
	@Id
	@javax.persistence.GeneratedValue(generator = "system-uuid")
	@org.hibernate.annotations.GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
	private String id;
	private Long userNo;//会员编号
	private String rebatetype;//返利类型
	private Date rebateDate;//返利日期  YYYY-MM-DD
	private Double rebateAmount;//返利金额 
	private Double rebateAmountSum;//到当日为止总的返利金额
	public Double getRebateAmountSum() {
		return rebateAmountSum;
	}
	public void setRebateAmountSum(Double rebateAmountSum) {
		this.rebateAmountSum = rebateAmountSum;
	}
	private Integer year;//年
	private Integer month;//月
	private Integer day;//日
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Long getUserNo() {
		return userNo;
	}
	public void setUserNo(Long userNo) {
		this.userNo = userNo;
	}
	public String getRebatetype() {
		return rebatetype;
	}
	public void setRebatetype(String rebatetype) {
		this.rebatetype = rebatetype;
	}
	public Date getRebateDate() {
		return rebateDate;
	}
	public void setRebateDate(Date rebateDate) {
		this.rebateDate = rebateDate;
	}
	public Double getRebateAmount() {
		return rebateAmount;
	}
	public void setRebateAmount(Double rebateAmount) {
		this.rebateAmount = rebateAmount;
	}
	public Integer getYear() {
		return year;
	}
	public void setYear(Integer year) {
		this.year = year;
	}
	public Integer getMonth() {
		return month;
	}
	public void setMonth(Integer month) {
		this.month = month;
	}
	public Integer getDay() {
		return day;
	}
	public void setDay(Integer day) {
		this.day = day;
	}
}
